# 模拟用户登录流程
def den():
    username = int(input(print("请输入用户账号：")))
    a = input(print('用户名是%s对吗？\n输入yes或no' %username))
    if a == "yes":
        print("已确认用户名为%s"%username)
        password=int(input(print("请输入用户密码：")))
        b = input(print("用户密码是%s对吗？\n输入yes或no"%password))
        if b == "yes":
            print("已确认用户密码为%s" %password)
            print("登录成功！")
        else:
            print("那你再重新输入！")
    else:
        print("那你再重新输入！")
        den()
den()